cmake_minimum_required(VERSION 3.13)
set(rn_hmfeatures_generated_dir "${RNOH_GENERATED_DIR}/rn_hmfeatures")

file(GLOB_RECURSE rn_hmfeatures_generated_SRC "${rn_hmfeatures_generated_dir}/**/*.cpp")

file(GLOB rn_hmfeatures_SRC CONFIGURE_DEPENDS *.cpp)

add_library(rn_hmfeatures SHARED ${rn_hmfeatures_SRC} ${rn_hmfeatures_generated_SRC})

target_include_directories(rn_hmfeatures PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${rn_hmfeatures_generated_dir})

target_link_libraries(rn_hmfeatures PUBLIC rnoh)